<?php
namespace modules\system\action\show;

use idea\util\Image;
use idea\util\String;
use library\BaseAction;

/**
 * VerifyAction class file
 * 验证码
 * @author 宋欢 <iphper@yeah.net>
 * @version $Id: VerifyAction.php 1 2013-02-08 00:48:06Z huan.song $
 * @package modules.system.action.show
 * @since 1.0
 */
class VerifyAction extends BaseAction
{
	public function run()
	{
		$randStr = String::randStr(4);
		Image::verify(DIR_DATA . DS . 'fonts' . DS . 'PilsenPlakat.ttf', $randStr);
	}
}
